module.exports = app => {
    const mongoose = require('mongoose')
    mongoose.set('useCreateIndex',true)
    mongoose.set('useFindAndModify',true)
    mongoose.connect('mongodb://10.9.67.207:27017/omini', {
        useNewUrlParser: true,
        useUnifiedTopology: true,
        useFindAndModify:false
    })
}

